using System.Data.Entity.Migrations;
using OneDemo.Migrations.SeedData;

namespace OneDemo.Migrations
{
    internal sealed class Configuration : DbMigrationsConfiguration<OneDemo.EntityFramework.OneDemoDbContext>
    {
        public Configuration()
        {
            AutomaticMigrationsEnabled = false;
            ContextKey = "OneDemo";
        }

        protected override void Seed(OneDemo.EntityFramework.OneDemoDbContext context)
        {
            new InitialDataBuilder(context).Build();
        }
    }
}
